import request from "@/utils/request"

/* 设置分页 */
export function reqPagination(page = 1, limit = 5) {
    return request.get(`product/baseTrademark/${page}/${limit}`)
}

/* 添加品牌 */
export function reqAddTrademark(data) {
    return request.post(`product/baseTrademark/save`, data)
}

/* 修改品牌 */
export function reqChangeTrademark(data) {
    return request.put(`product/baseTrademark/update`, data)
}

/* 删除品牌 */
export function reqRemoveTrademark(id) {
    return request.delete(`product/baseTrademark/remove/${id}`)
}